<!--<meta http-equiv="refresh" content="1"/>-->
<link href="__PUBLIC__/Admin/css/same.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/jquery-1.11.3.min.js" type="text/javascript"></script>
<link href="__PUBLIC__/css/bootstrap.css"  type="text/css" rel="stylesheet"/>
<script src="__PUBLIC__/js/layer/layer.js" type="text/javascript"></script>
<script src="__PUBLIC__/js/bootstrap.js" type="text/javascript"></script>
<script src="__PUBLIC__/Admin/js/TradeInfo.js" type="text/javascript"></script>
<div class="a-main-left-content">
    <div class="a_con_title">
        <h4>交易信息管理</h4>
    </div>
    <div class="a_title_tip">
        <img class="a_record_icon" src="/Public/img/record_01.jpg"/>
        <span class="a_record_news">请及时完善订单信息。</span>
    </div>

    <div class="read_type_box">
        <form action="{:U('Admin/InfoManage/tradeManage')}" method="post">
            <div class="tt">
                <span>书籍名称：</span>
                <input type="text" name="book_name">
                <span>支付方式：</span>
                <select name="buy_type">
                    <option value="">请选择</option>
                    <option value="2">银联支付</option>
                    <option value="1">货到付款</option>
                </select>
                <div class="read_submit_record">
                    <img src="__PUBLIC__/Admin/img/record_02.jpg" alt="搜索">
                    <input type="submit" value="查询" id="input_zz" >
                </div>
            </div>
        </form>
        <div class="tt_box">
            <volist name="_getBookByIdBuyInfo" id="vo">
                <div class="tt_tt">
                    <div class="tt_tt_span">
                        <span>{$vo['buybook_time']|date='Y-m-d',###}</span>
                    </div>
                    <div class="info_tt">
                        <span>{$vo['real_name']}</span>
                        <span>购买1本：《{$vo['book_name']}》</span>
                        <span>
                            支付方式：
                            <if condition="$vo['buy_type'] eq 1">
                                    货到付款
                                    <else/>
                                    银联支付
                            </if>
                        </span>
                        <span>地址为：{$vo['u_address']}</span>
                        <span>电话为：{$vo['u_tel']}</span>
                    </div>
                    <div class="input_tt">
                        <input type="button" class="ss" data-id-status="{$vo['buybook_id']}" value="完成订单">
                        <input type="hidden" value="{:U('Admin/InfoManage/tradeStatus')}" id="ss-url">
                    </div>
                </div>
            </volist>
        </div>
    </div>
</div>